package top.lyjwn.todo.resources.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * 资源全局参数配置
 *
 * @author luoyjie
 */
@Configuration
public class ResourcesConfig {

    public static boolean is_file_store;

    public static String store_path;


    @Value("${top.lyjwn.todo.resources.is_file_store}")
    public void setIs_file_store(boolean is_file_store) {
        this.is_file_store = is_file_store;
    }

    @Value("${top.lyjwn.todo.resources.store_path}")
    public void setStore_path(String store_path) {
        this.store_path = store_path;
    }
}
